package com.wj.springboot2demo.ws;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@RestController
public class WebSocketTestController {

    @RequestMapping(value = "index")
    public ModelAndView rewardList(HttpServletRequest request, HttpServletResponse response, Model model) {
        
        return new ModelAndView("index");
    }
}
